COPYRIGHT = "Script by Issetea and Fewo. For more information visit www.rp-mods.com. Do not modify.";
 _10 = objNull; _9 = -1; while {true} do { _2 = cursorTarget; if ( (!(isNull _10)) and ( (_10 != _2) or (_10 distance player > 6) or (!(alive _10))) ) then { _10 removeAction _9; _10 = objNull; }; if ((isPlayer _2) and (alive _2) and (_2 distance player < 6) and (isNull _10)) then { _4 = (player call v4793); _5 = (_2 call v4793); for "_j" from 0 to ((count _4) - 1) do { _6 = _4 select _j; for "_k" from 0 to ((count _5) - 1) do { _7 = _5 select _k; _8 = format["INV_PLAYERACTION_%1_%2", _6, _7]; if (!(isNil _8)) then { if ((call compile _8) != "") then { _9 = _2 addAction [format[localize "STRS_v4560", name _2, str(_2)], (call compile _8), [_2]]; }; }; }; }; _10 = _2; }; sleep 1.18; }; 